package gradle.common.feign.config.exception;

import gradle.common.core.enums.ResultCodeEnum;
import gradle.common.core.exception.BaseException;

/**
 * 权限不足异常
 */
public class PermissionException extends BaseException {

    public PermissionException() {
        super(ResultCodeEnum.UNAUTHORIZED.getCode(), "权限不足！");
    }

    public PermissionException(String message){
        super(ResultCodeEnum.UNAUTHORIZED.getCode(), message);
    }
}
